
<form method="POST" id='newcommission-edit-form' action="index.php?app=inman&ctl=admin_commission&act=edit" class="tableform">
    <div class="division">
        <table width="100%" >
            <tr><th><{t}>名称：<{/t}></th><td><{input type="text" name="com[com_name]"  onchange="nameCheck(this)" size="20" vtype="required" value=$com.com_name}><span></span></td></tr>
            <tr><th><{t}>佣金比例：<{/t}></th><td><{input type="text" name="com[com_percentage]" size="20" vtype="required" value=$com.com_percentage}></td></tr>
            <tr><th><{t}>是否启用：<{/t}></th><td><input type="radio" name="com[status]" value='0' <{if $com.status==0}>checked='checked'<{/if}>/>禁用<input type="radio" value='1' name='com[status]'<{if $com.status==1}>checked='checked'<{/if}>/>启用</td></tr>
            <tr><th>佣金模式：</th><td>
            	<select name='com[com_type]'>
            		<option value='0'  <{if $com.com_type==0}>selected='selected'<{/if}>>默认</option>
            		<option value='1'  <{if $com.com_type==1}>selected='selected'<{/if}>>线上佣金规则</option>
            		<option value='2'  <{if $com.com_type==2}>selected='selected'<{/if}>>官网佣金规则</option>
            		<option value='3'  <{if $com.com_type==3}>selected='selected'<{/if}>>非官网佣金规则</option>
            	</select>
            <span></span></td></tr>
            <tr><th>最小值：</th><td><{input type="text" name="com[min_value]" size="20" value=$com.min_value}><span></span></td></tr>
            <tr><th>最大值：</th><td><{input type="text" name="com[max_value]" size="20" value=$com.max_value}><span></span></td></tr>
            <tr><th>备注：</th><td><textarea cols='40' rows='5' name="com[com_remark]"><{$com.com_remark}></textarea><span></span></td></tr>
            
			<tr><th></th><td><input type='hidden' name="com[com_id]" value='<{$com.com_id}>'/><span></span></td></tr>      
			 <!-- <tr><th><em class="red">*</em><{t}>xxx：<{/t}></th><td><{input type='select' name='member_lv[member_group_id]' vtype="required" options=$mem.lv.options value=$mem.lv.value }></td></tr>
        	 -->
        </table>
        <hr style="margin:5px 0;">
	</div>
    <div class="table-action"><{button type="submit" label=$___inman="保存"|t:'inman' }></div>
</form>
